package tgc.edu.examxy.service;

import java.util.List;
import java.util.UUID;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tgc.edu.examxy.custom.CommonService;
import tgc.edu.examxy.entity.StudentInformation;
import tgc.edu.examxy.repository.StudentInformationRepository;
@Service
public class StudentInformationService extends CommonService<StudentInformation, UUID>{
	@Autowired
	private StudentInformationRepository dao;
		
	public List<StudentInformation> findByAssessStudentUsername(String username) {
		return dao.findByAssessStudentUsername(username);
	}

	public List<StudentInformation> findByAssessStudentOpenid(String openid) {
		return dao.findByAssessStudentOpenid(openid);
	}

}
